<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div id="app">
        <!-- <p>{{msg}}</p> -->
    </div>
    <!-- 并不是模板页面，元素并不在Vue实例中 -->
    <!-- <p>测试：{{msg}}</p> -->
    
    <div id="aa">
        <!-- <h2>{{msg}}</h2> -->
        <h2>{{name}}</h2>
    </div>

    <script src="https://cdn.bootcdn.net/ajax/libs/vue/2.6.12/vue.js"></script>
    <script>
        var obj = {
            name: '测试修改'
        }
        var one = new Vue({
            el:'#app',
            name:'one',
            // data:{
            //     msg:'这是app'
            // },
            data:obj
        })
        var two = new Vue({
            el:'#aa',
            name:'two',
            // data:{
            //     msg:'这是app'
            // }
            data:obj
        })
    </script>

    
</body>
</html>